package com.hethongviet.preventingmachine.models;

public class Number
{
	public static final int SYNCHRONIZE_NOT_YET = 0;
	public static final int SYNCHRONIZE_OK = SYNCHRONIZE_NOT_YET + 1;
	public static final int SYNCHRONIZE_ERROR = SYNCHRONIZE_OK+ 1;
	
	private long idDB = -1;

	private String number = "";
	private String name = "";
	private boolean isControl = false;
	private boolean isAlarm = false;
	private int statusSynchronize = SYNCHRONIZE_NOT_YET;
	private boolean isActive = false;
	
	public Number()
	{
	}

	public long getIdDB()
	{
		return idDB;
	}

	public void setIdDB(long idDB)
	{
		this.idDB = idDB;
	}

	public String getNumber()
	{
		return number;
	}

	public void setNumber(String number)
	{
		this.number = number;
	}

	public boolean isControl()
	{
		return isControl;
	}

	public void setControl(boolean isControl)
	{
		this.isControl = isControl;
	}

	public boolean isAlarm()
	{
		return isAlarm;
	}

	public void setAlarm(boolean isAlarm)
	{
		this.isAlarm = isAlarm;
	}

	public boolean isActive()
	{
		return isActive;
	}

	public void setActive(boolean isActive)
	{
		this.isActive = isActive;
	}

	public int getStatusSynchronize()
	{
		return statusSynchronize;
	}

	public void setStatusSynchronize(int statusSynchronize)
	{
		this.statusSynchronize = statusSynchronize;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

}
